import 'package:flutter/material.dart';

import '../../utils/util.dart';
import 'index.dart';
import 'widgets/widgets.dart';

class ReportPage extends StatelessWidget {
  ReportPage({Key? key}) : super(key: key);
  final controller = Get.put(ReportController());
  final state = Get.find<ReportController>().state;
  // 主视图
  Widget _buildView() {
    return const HelloWidget();
  }

  @override
  Widget build(BuildContext context) {
    return GetBuilder<ReportController>(
      builder: (_) {
        return Scaffold(
          appBar: AppBar(
              title: Text(
            "报告",
            style: TextStyle(
              color: Colors.white,
              fontSize: 17.sp,
            ),
          )),
          body: SafeArea(
            child: _buildView(),
          ),
        );
      },
    );
  }
}
